package cn.com.roy.thread.t4_1_15.awaituntil;

public class ThreadB extends Thread{
    private Myservice myservice ;

    public ThreadB(Myservice myservice){
        this.myservice = myservice;
    }

    @Override
    public void run() {
        super.run();
        myservice.notifyMethod();
    }
}
